import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 引入公共样式
import './styles/index.css'
// 引入字体图标
import './styles/icon_font.css'
// 引入vant
import Vant from 'vant'
import 'vant/lib/index.css'
// 引入屏幕自适应
import 'amfe-flexible'
// 引入过滤器文件夹
import * as filters from '@/filters'

Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})
Vue.use(Vant)
Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
console.log()
